package org.dromara.business.domain.vo;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.business.domain.Advertising;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 广告视图对象 advertising
 *
 * @author zlj
 * @date 2024-12-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Advertising.class)
public class AdvertisingVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long advertisingId;

    /**
     * 城市
     */
    @ExcelProperty(value = "城市")
    private String city;


    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "url")
    private String urlLink;
    /**
     * 广告路径
     */
    @ExcelProperty(value = "广告路径")
    private String url;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private String state;

    /**
     * 播放次数
     */
    @ExcelProperty(value = "播放次数")
    private Long number;
    /**
     * 播放次数
     */
    @ExcelProperty(value = "区域编号")
    private String cityId;


    /**
     * 播放次数
     */
    @ExcelProperty(value = " private String remarks;")
    private String remarks;


    /**
     * 过期时间
     */
    @ExcelProperty(value = "过期时间")
    private Date expirationDate;


}
